package com.wcar.store.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.wcar.common.entity.FrontUser;
import com.wcar.common.entity.StoreEvaluate;
import com.wcar.common.entity.User;
import com.wcar.common.vo.Result;
import com.wcar.store.vo.EvaluateVo;

import java.util.List;

/**
 * @BelongsProject: four-wcar-idea
 * @BelongsPackage: com.wcar.store.service
 * @Author: 李睢康
 * @CreateTime: 2024-05-27  15:24
 */
public interface EvaluateService {
    public Result<IPage> selectAll(EvaluateVo evaluateVo);

    Result<List<FrontUser>> selectUserAll();

    Result<String> insert(StoreEvaluate evaluate);

    Result<String> update(StoreEvaluate evaluate);

    Result<Integer> delete(Integer evaluateId);

    Result<List<StoreEvaluate>> selectComment(Integer storeId);


    Result<String> insertEvaluate(StoreEvaluate evaluate);
}
